package com.peas.platform.module.icims.budget.apply.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.BudgetOneFileRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.po.BudgetOneFilePo;
import com.peas.platform.module.icims.budget.apply.domain.BudgetOneFileDomain;
import com.peas.platform.module.icims.budget.apply.dto.BudgetOneFileDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetOneFileDomainImpl extends BaseDomainImpl<BudgetOneFileDto, BudgetOneFilePo> implements BudgetOneFileDomain {

    @Resource
    private BudgetOneFileRepository budgetOneFileRepository;

    @Override
    public BaseRepository<BudgetOneFilePo> getMapper() {
        return budgetOneFileRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetOneFilePo>> getRepositoryClass() {
        return BudgetOneFileRepository.class;
    }

}
